﻿using SaiLing.Domain.Persistence.Relational;
using System;
using System.Collections.Generic;

namespace SaiLing.SingleSignOn.Domain.Entities.System
{

    public class Organization : IEntity
    {
        /// <summary>
        /// 全称
        /// </summary>
        public string FullName { get; set; }
        /// <summary>
        /// 简称
        /// </summary>
        public string ShortName { get; set; }
        /// <summary>
        /// 上级部门
        /// </summary>
        public Guid ParentId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        public virtual List<OrganizationMenuAuthority> OrganizationAuthorities { get; set; }
    }
}
